import { renderInterviewRecordOperate } from '@/pages/Recruitment/renderUtil';

const Candidate = ({ record = {}, isPrincipal, isLauncher, onRefresh, user }) => {
    const { currentUser = {} } = user;

    return renderInterviewRecordOperate(
        { ...record, interviewStatus: record.status, recruitTalentMatcherId: record.resumeId },
        onRefresh,
        isPrincipal,
        currentUser?.employeeCode,
        isLauncher,
        true
    );
};

export default Candidate;
